package com.framework.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.framework.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_dict")
public class SysDict extends BaseEntity {
    @ApiModelProperty(value = "类型id")
    @TableField(value = "`type_id`")
    private Long typeId;

    @ApiModelProperty(value = "类型code")
    @TableField(value = "`type_code`")
    private String typeCode;

    @ApiModelProperty(value = "类型名称")
    @TableField(value = "`type_name`")
    private String typeName;

    @ApiModelProperty(value = "字典code")
    @TableField(value = "`dict_code`")
    private String dictCode;

    @ApiModelProperty(value = "字典描述")
    @TableField(value = "`dict_text`")
    private String dictText;

    @ApiModelProperty(value = "字典排序")
    @TableField(value = "`dict_sort`")
    private Integer dictSort;

}
